package com.alquimia.identityaccess.application.events.user;

import com.alquimia.identityaccess.application.events.RegisterEvent;


/**
 * Created by Ivo on 16/07/2014.
 */

public class RegisterUserEvent extends RegisterEvent {

    private String username;
    private String password;
    private String firstName;
    private String lastName;
    private String emailAddress;

    public RegisterUserEvent() {
        super();
    }

    public RegisterUserEvent(String aUsername, String aPassword,
                             String aFirstName, String aLastName, String aEmailAddress) {
        this();

        setUsername(aUsername);
        setPassword(aPassword);
        setFirstName(aFirstName);
        setLastName(aLastName);
        setEmailAddress(aEmailAddress);
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setUsername(final String aUsername) {
        username = aUsername;
    }

    public void setPassword(final String aPassword) {
        password = aPassword;
    }

    public void setFirstName(final String aFirstName) {
        firstName = aFirstName;
    }

    public void setLastName(final String aLastName) {
        lastName = aLastName;
    }

    public void setEmailAddress(final String aEmailAddress) {
        emailAddress = aEmailAddress;
    }
}
